package hu.debrecen.adastra.card.web.dev;

import hu.debrecen.adastra.card.service.domain.HungarianDeck;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("dev")
public class DevController {

	@RequestMapping("/hungarian/deck")
	public String hungarianDeck(final Model model) {
		model.addAttribute("cards", HungarianDeck.createCards());
		return "dev/hungarian/deck";
	}

}
